#ID:wp0061
#Name:梁山伯
###problem1

	
a=int(input("输入数字a："))
b=int(input("输入数字b："))

def y(a,b):
    fmu = a*b-6
    fzi = pow(b*b,1/3)+3*pow(a,1/3)+1
    #print(fzi)
    #print(fmu)
    return fzi/fmu
f = y(a,b)
print(f)


###end

###problem2



a,n =map(int,input('输入数字a和n:').split())
s = 1
num=[]
for i in range (1,n+1):
    f = i*10+a
    i += 1
    s = s*f
    #num.append(f)
#print(num)
print(s)

###end


###problem3

def openmile():
    with  open(r'a.txt','r',encoding='utf-8') as f:
        line=f.read()
        line = line.replace(",",' ')
        line = line.replace(".",' ')
        words = line.split()  
    d = {}   
    for w in words:    
        if w in d:   
            d[w] =d[w] + 1    
        else:
            d[w] = 1    
    print(sorted(d.items(),key=lambda x:x[1],reverse=True))
    with open(r"b.txt","w+") as f2:
        for i,(k,v) in enumerate(sorted(d.items(),key=lambda x:x[1],reverse=True)):
            if i in range(0,10):
                f2.write(str(k))
                f2.write(":")
                f2.write(str(v))
                f2.write("\n")
        f2.seek(0)
        print(f2.read())


###end


###problem4


path=input("请输入path：")
string=input("输入string:")
path=path.replace('\\','/')
def conver(path,string):
    dic = {}
    with open(path, 'r')as f:
        for n in f:
            dic[n[0]] = n[2]
            dic[n[2]] = n[0]
    str1 = string
    for i in str1:
        print(dic.get(i), end='')
conver(path,string)


###end


###problem5


def my_yield(a):
	d=[]
	for I in range(len(a)):
		d+=a[i]
	for I in range(len(d)):
		yield d[i]
###end

###problem6


###end